﻿@model IEnumerable<MVC3DEMO.Models.FileStore>
 @model MVC3DEMO.Models.BS.BS_FileStore
@{
    ViewBag.Title = "ViewVideo";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}
<p>
    @Html.ActionLink("Create New", "Create")
</p>


@*<h2>ViewVideo</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            MimeType
        </th>
        <th>
            FileName
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
   
    <tr>
     
        <td>
         
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.FileName)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.Id }) |
            @Html.ActionLink("Details", "Details", new { id=item.Id }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.Id })
        </td>
    </tr>
}

</table>

        <script type="text/javascript" src="../../Scripts/mwEmbed-player-static.js" ></script>


<script type='text/javascript' src="../../Content/js/jwplayer.js"></script>

<div id='mediaplayer'></div>

<script type="text/javascript">
    jwplayer('mediaplayer').setup({
        'flashplayer': '',
        'id': 'playerID',
        'width': '480',
        'height': '270',
        'file': '../../video/video.mp4'
    });
</script>


    <video id="vid1" width="480" height="267" 
         poster="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb480.jpg"
         durationHint="33" >
                <source type="video/webm" src="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb_trailer_360p.webm" />
                <source src="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb_trailer_iphone270P.m4v" />
                <source src="http://cdn.kaltura.org/apis/html5lib/kplayer-examples/media/bbb_trailer_400p.ogv" />
        </video>
*@

